forked from YuweAEC/learning-git-and-github
-
Notifications
You must be signed in to change notification settings - Fork 0
/
view-in-git.txt
22 lines (12 loc) · 866 Bytes
/
view-in-git.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Now we will look after the commands of git through we can see or fetch\pull any data about our repo and file
# To see -
to see your current stage of git file we use:
* git log - used to view the entire commit history
* git status - used to check the state of the staging area , as well as the working directory
- tell us about new files that have been created in the Working Directory that Git hasn't started tracking, yet
- files that Git is tracking that have been modified
Use this git log and git status every single after create or commit or add any new think to your git repo . this will you to determine and remember your git learning
# To fetch/pull
* git clone - used to download existing code from a remote repository
* git pull <local> <branch - name> - used to pull down all updates from the remote repository
* git fetch -