What is the best way to do this with git?
My git knowledge is limited.
My git knowledge is limited.
What is the best way to do this with git?
My git knowledge is limited.
"Add your files to the directory created by the clone."
- Create a repo in gitlab
- Clone to your machine (it will give instructions to clone via ssh in the readme when you first create the repository)
- Add your files to the directory created by the clone
- git add *
- git commit -a -m "Your comment about this commit"
- git push
They'll be tracked when you git add, you can add individual files and exclude what you don't want via .gitignore."Add your files to the directory created by the clone."
When i do "copy" the originals are not tracked or followed when i do later "git push".
There must be a better way ?
"Add your files to the directory created by the clone."
When i do "copy" the originals are not tracked or followed when i do later "git push".
There must be a better way ?
You can also make the repository private if you trust gitlab enough.I want to make public what is not confidential.
Cracauer what do you think of my approach i described ?
Well if you only push when things are clean, you should be fine?This direct approach will end up badly if there are ever conflict markers in important files, e.g. passwd.
Microsoft learned me everything i upload is publicYou can also make the repository private if you trust gitlab enough.
I'd write a script to tar.gz all the files i need and put it on a cheap USB thumb drive.backup remote & available from everywhere.
Well if you only push when things are clean, you should be fine?