Skip to content

Bhanu-12/Git-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important Git commands. 1-> git init => Initialize git.

2-> git status => tracking of files.

3-> git add 'file name'=> Add the file git add -A => Add new files , modified files and deleted files in one go.

4->git commit -m "Message" => Add and commit in one step:

5->git diff => diff of what is changed but not staged

6-> git log => show the commit history for the currently active branch git log --oneline=>Show oneline-summary of commits git log --oneline --graph --all --decorate => Show history of commits as graph-summary

7->Creating aliases =>

git config --global alias.(name ny which we want to shorten) "command" 8-> git push origin --all => push all files

heading 1

heading 2

italic text bold text like this

I'm an inline-style link

Inline-style: alt text

for more refer this link

About

Learning git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors