Commands I need often, and can't remember. Not a full "Readme" explaining, everything -- rather a list of helpful commands.
How to set up and operate a git repo on your own machine/server
su gituser cd /var/www/git mkdir $repo cd $repo git init --bare
git clone ssh://[email protected]:10022/var/www/git/$repo
copied from a blog.
# Create a new remote called "all" with the URL of the primary repo.
git remote add all [email protected]:jigarius/toggl2redmine.git
# Re-register the remote as a push URL.
git remote set-url --add --push all [email protected]:jigarius/toggl2redmine.git
# Add a push URL to a remote. This means that "git push" will also push to this git URL.
git remote set-url --add --push all [email protected]:jigarius/toggl2redmine.git
# push to all:
git push all
jupyter lab --no-browser --port 8889