To push it click on "stage" then commit & push I coped the link and paste it on SmartGitĪny change in the files will appear in the SmartGit window. To communicate between my account and SmartGit, I clone with ssh key Now it the time to download and install SmartGit to push my files to my gitlab account. The generated ssh key eill be something like:Īfter that I copied the generated SSH key to my profile on GitLab Git config -–global user.email we use "ssh-keygen -t rsa -C to generate ssh key. Git config –-global user.name “Abdelfattah Alwerfalli” This GIT tutorial is very helpful to starting this task.Īfter that I downloaded and installed git bash to create SSH key (Secure Socket Shell). The next step is to upload the web site to Fab Academy cloud using gitlab.įirstly, I changed my gitlab account password. I started editing my website by changing page titles to be related to its contents. Made by Microsoft for Windows, Linux and macOS. To implement this I did the following:įirst, we download a startbootstrap template for my project web site.Īfter that I used visual studio code which is a open source-code editor quickly switch your “working copy” between different versions of repository ntrol who can read and write to the repository.checkout any past revision to a project, even files that have been deleted!.view a history of all changes to project files, and compare revisions.easily make a copy of a project’s source code on another machine.I signed and uploaded Student Agreement in week 1.įirst weeks' assignment is design and build a personal website. This file describes how to create and use a local git repository, using the git command line program. How to use Github is introduced in a separate document. See Why Use Git? (below) for how Git can save you from disaster. IDE built-in Git feature Eclipse, Netbeans, IntelliJ, P圜harm, VS Code, and even BlueJ all include git tools.Git GUI client such as Github Desktop for Windows and OSX, SourceTree, or.Git command line tool - the basic “git” we will use. but if you don’t know git first it is easy to make mistakes or be confused.įor this introduction, we will use the Git command line.After you understand git, these tools are a fast and easy way to use git while programming. The OS might prompt you to install Git from XCode. If git is already installed, it will print a help message. Old Mac OSX: If your OSX is old and does not have “git”, then download Git from. Other OS: see install commands for Linux Personalize Your Git Configurationīefore you can use Git to “push” commits to a remote repository Ubuntu or Debian: in a terminal window, enter sudo apt-get install git. Use a command or terminal window to enter these: You must set configuration values containing your name and email. Working Copy is the files in your project directory (and its subdirectories).This shows that demo/Problem1.py and README.md have been modified since the last commit. Local Repository contains all revisions of all files “added” and “committed” to the repository, along with dates and log messages.Staging Area of files waiting to be committed to the repository.These are the files you edit during your work it includes tracked files (files you have added to repo using git add) and untracked files. Remote Repository (optional) is a git repository on another host, like Github.When a file is updated, only the changes are stored, so a repository does not require much space. You can synchronize your local repository with the remote repository.Ī Revision is one snapshot of a project, created using “git commit”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |