Skip to content

FairyPenguin/Github_Speedrun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Git-hub speed-run 🧪


"Run,Barry,Run" ⚡

1- gh repo create repo-name-remove --public

2- git init

3- git status

4- git add .

5- git commit -m “first commit”

6- git remote add origin https://github.com/FairyPenguin/……..git

7- git branch -M main

8- git push -u origin main

To change remote origin:

git remote set-url origin https://github.com/new-repo-here.git

To change branches:

git checkout branch-name=(name of the one you want to move to)

Merge branches locally:

Assuming we have branch-A and branch-B We want to merge branch-B into branch-A

1- on branch-B -> A: switch to branch-A

2- on branch-A: git merge branch-B

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published