Skip to content

MKV1001-zz/Demo-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Using Git

  1. Create a git repository on you r Github
  2. Go to your local machine create a local folder
  3. Enter the folder
  4. Then: " git init"
  5. touch README.md
  6. git add .
  7. git commit -m "messsage"
  8. git branch -M main ( Creating a default branch called main)
  9. git remote add origin (linking my git local repo with my github repo)
  10. git push -u origin main (Push my commit)

Branch

  1. git branch
  2. git checkout branch (switching into a new branch)
  3. git push -u origin push
  4. git branch -d (deleting branch locally)

Pull

  1. git pull (fetches a branch and merges it into your local file)
  2. git merge ( merges your file locally)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages