GitHub Installation - nikchopda/CanteenAutomation GitHub Wiki
- Installation
- In the browser, visit desktop.github.com. Download it and run once done. Allow the installation to download and install. Once the installation completes, GitHub Desktop will launch.
- Signing In and setting up credentials
-
Sign in with your GitHub credentials. If you don't already have a GitHub login, create a new (free) account. Once you successfully sign in, you are ready to start using GitHub Desktop. After the installation, you must set your Git username with the command (run from Git Bash):
git config --global user.name "USERNAME"
-
Next, set the email address associated with your Git account:
git config --global user.email "EMAIL"
-
Make sure to close GitHub Desktop and reopen (otherwise it will not see that Git was installed).
- Commands:
-
The commands used to add, commit, push and pull the code to and from the repository are as:
a. git add -A
b. git commit -m “< message >”
c. git push -u origin master
d. git pull