Skip to content

That's my personal Cheat-Sheet for the most useful git commands !

Notifications You must be signed in to change notification settings

FlorentinJonckans/Cheat-Sheet-Git-Commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Cheat-Sheet-Git-Commands

git init: Create a new GIT repository.

git status: Display the list of modified files as well as files that still need to be added or validated.

git log: Generate the log of a branch.

git clone /way/towards/depo: Create a copy in the index local directory.

git add temp.txt: Add a file named temp.txt in the index local directory.

git commit –m “myModification”: Validate the changes made to the HEAD.

git pull origin main: Merge all changes present on the remote repository into the local working directory.

git push origin main: Send local changes to the associated master branch.

git remote –v: Connect a user to a remote repository. -v lists currently configured remote repositories.

git remote add origin <XX.XXX.XXX.XX>: Connect a local repository to a remote server.

About

That's my personal Cheat-Sheet for the most useful git commands !

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published