Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

ajitchahal/git-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

1️⃣ Git switch remote urls
Verfiy the current remote url:

git remote -v

Switch to new repository:

git remote set-url origin http://gitlab.fs24.local/fs24/expert-forum.git

or

git remote set-url origin https://git.rz.is/knoffhoff/expert-forum.git

Simply switch the remotes and git push, all the changes since last push will be pushed.

More at:

https://help.github.com/articles/changing-a-remote-s-url/

2️⃣ install gollum app for wiki https://github.com/gollum/gollum/wiki/Installation

3️⃣ Save git credentials

git config --global credential.helper cache

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published