installing Git on MX-Linux - how to do this.
a. package manager or
b. Synaptic-tool or
c. the command line?!
Look forward to hear from you
apt list *git* -i(base) martin@mx:~ $ apt list *git* -i Auflistung... Fertig git-man/stable,stable,stable,stable,now 1:2.20.1-2+deb10u3 all [Installiert,automatisch] git/stable,stable,now 1:2.20.1-2+deb10u3 amd64 [installiert] gitk/stable,stable,stable,stable,now 1:2.20.1-2+deb10u3 all [installiert] (base) martin@mx:~ $
allready done - it is installed on MX Linux by default
btw - see here the quick-manual: howto: git (github) usage - MX Linux Forum
Please start to use the nice tools we have available for free to contribute code, once you get the hang of it, it makes it much easier to collaborate and work in a distributed fashion than passing ar
around tarballs, downloading them, untarring, finding which files were changed, what was changed, etc.
0. create github.com account if you don’t have one
- fork the github repo that you want to work upon in the github interface (this will give your own repo where you can make changes and try things on your own)
- git clone yourgithubrepo (you get the yourgithubrepo from github interface, this creates a local folder with the files from the repo)
- cd to the new folder created by the previous command
- git remote add upstream upstreamgithubrepo (the uptreamgithubrepo is the one that you forked from, makes it easier to track changes in the upstream)
- git fetch upstream (to get any changes from upstream before committing)
- git merge upstream/master (to merge the changes)
Alternatively, you can run one command “git pull upstream master” instead of fetch and merge, make sure though you don’t have any uncommitted changes, this will wipe them.
- work on the project: modify, add, remove files
and so forth and so forth
many many thanks for this great place here.
have a great day.