Skip to main content

Recently Updated Pages

git: modify specific commit

Coding

You can use git rebase. For example, if you want to modify commit COMMIT, run: git rebase --...

Updated 2 years ago by Simpel

git: remove specific commit

Coding

To delete a special commit look for it's id (COMMIT) and do: git rebase --onto COMMIT^ COMMI...

Updated 2 years ago by Simpel

git: Invalid executable path

Coding

Error message on windows: Invalid executable path: This is due to github.com/git-for-wi...

Updated 2 years ago by Simpel

git: make alias to open github in browser

Coding

Make an alias hub for git: git config --global alias.hub '!f() { open "$(git ls-remote --get-url...

Updated 2 years ago by Simpel

git: login with deploy key

Coding

Generate a new ssh key: ssh-keygen -t ed25519 -C "git@simpel.cc" Name it like "id_githu...

Updated 2 years ago by Simpel

zsh: history expansion

Coding

http://zsh.sourceforge.net/Doc/Release/Expansion.html

Updated 2 years ago by Simpel

git: flight rules or how to

Coding

This is a cook book for git use cases:github.com/k88hudson/git-flight-rules#i-want-to-start-a-loc...

Updated 2 years ago by Simpel

git: pushing to multiple repos

Coding

You can push to more then one instance but fetch/pull only from one. Main repo will be set: ...

Updated 2 years ago by Simpel

git: delete remote branch

Coding

To remove a remote branch use: git push origin --delete <branch>

Updated 2 years ago by Simpel

git: delete remote branch

Coding

First go out of the branch you want to remove. Then: git branch -D $BRANCH && git push origin --...

Updated 2 years ago by Simpel

git deploy on simpel.cc

Coding

Activate a webhook on github. Go to repos settings: gh browse -s On github you do the f...

Updated 2 years ago by Simpel

git error: repository not found

Coding

Following error messages: ERROR: Repository not found. fatal: Konnte nicht vom Remote-Repos...

Updated 2 years ago by Simpel

git: clear history of repository

Coding

### Remove the history from rm -rf .git ### recreate the repos from the current content ...

Updated 2 years ago by Simpel

git error: gpg beim Signieren der Daten fehlgeschlagen

Coding

stackoverflow.com/questions/41052538/git-error-gpg-failed-to-sign-data#41054093 Hot fix: run gpg...

Updated 2 years ago by Simpel

git - error: src refspec main does not match any

Coding

I made a repo on github and did git init on folder. Then I git remote add origin REPO and git bra...

Updated 2 years ago by Simpel

git push - fatal: protocol error: bad line length character

Coding

fatal: protocol error: bad line length character: load Auf dem NDR-Client. Als ich in de...

Updated 2 years ago by Simpel

git always asks for user and password

Coding

activate: git config credential.helper store Next push or pull you will be asked for cr...

Updated 2 years ago by Simpel

git rename master to main

Coding

https://www.git-tower.com/learn/git/faq/git-rename-master-to-main

Updated 2 years ago by Simpel

git fetch / pull remote branch

Coding

If you don't created that branch but want to follow and fetch: git checkout --track origin/b...

Updated 2 years ago by Simpel

git init on server

Coding

git init --bare --shared REPO.git

Updated 2 years ago by Simpel