August 28, 2019 Application 1 minute, 47 seconds

Check current urls:

git remote -v

Switch urls:

git remote set-url origin NEWURL

Compare change

git remote -v

Push to new remote

git push -u origin master

find . -maxdepth 1 -type d -exec git --git-dir={}/.git --work-tree=$PWD/{} pull \;

Use it with care! Interactive rebase is almost almighty

Start the rebase at the last "good" commit

git rebase -i -p COMMITHASH

or start from the initial commit with

git rebase -i --root $tip

After this command a text editor will open. Edit the keywords at the beginning of the line, in this case edit allows us to modify the commits. After saving the file the first commit to be edited will be selected. Now you can run e.g.

git commit --amend --author="Michael <>"

to modify the author. Then run

git rebase --continue

to go to the next marked commit. After rebasing run

git push --force-with-lease

to push your modifications.

git config --global http.proxy

or in .git/config

    proxy =

or temporarly as command line argument

-c http.proxy

git config --global http.sslVerify=false

or in .git/config

sslVerify = false

or temporarly as command line argument

-c http.sslVerify=false

git rev-parse --abbrev-ref HEAD

git remote add github
git push/pull origin
git push/pull github

When the origin is at github vice versa.

git remote set-url –add origin
git push/pull origin

When the origin is at github vice versa. Now, origin will targed the Gitlab as well as Github remotes

git config [--global] --edit

git config --global core.autocrlf false
git config --global core.eol lf