Skip to content
CLAWUDPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

  1. git init - intialize git in folder
  2. git status - status of git repo ( practice )
  3. git add (filename) - stage the file
  4. git commit (filename) - commiting the file (performance)
  5. git rm --cached (filename) - removing staged file
  6. git restore (filename) - deleting new version of the git file
  7. git diff - shows the difference between current and previous version
  8. git log - shows the list of commitments
  9. git diff (commit_hash) (commit_hash) - diff between two commits
  10. git remote add origin https://github.com/(gitHubUserName)/(repositoryName).git - origin is the path where the remote repo points
  11. git branch -M main - convert the current git branch to main branch
  12. git push -u origin main - push the repositories in current main branch
  13. git clone https://github.com/(gitHubUserName)/(repositoryName).git -clones all github repoitory files to your pc
  14. git pull --rebase origin main - pulls the files from remote repo to local pc with 1 commit ahead

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages