-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstallGit.txt
More file actions
28 lines (23 loc) · 913 Bytes
/
InstallGit.txt
File metadata and controls
28 lines (23 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
https://www.youtube.com/watch?v=J_Clau1bYco
1. Download Git
2. Create GitHub Account
3. Create a new Respository
4. Create a folder
Some commands to begin with git
1. cd c:/ (ove to C:/Driver)
2. cd Namefolder (move to folder named Git)
3. git config --global user.name "lamngoctam"
4. git config --global user.email lamngoctam@gmail.com
5. git clone URL (to clone the folder form Github account-e.g. https://github.com/lamngoctam/Diff_Geo_Basic.git)
Working with file in git
1. Upload the file to Githib account:
git add FileName
2. Check the status:
git status
3. Commit and uploadthe changed file
git commit -m "comments for this action" Filename
git push -u origin master (push the files onto Github online)
git status (to see the modified file)
After create a new files in Github online account
e.g. newfile -> Newfolder/ -> filename
git pull origin master (update in computer)