neuropoly / intranet.neuro.polymtl.ca

NeuroPoly's lab manual
https://intranet.neuro.polymtl.ca
4 stars 6 forks source link

Update `git push` command in git-datasets.md #84

Closed valosekj closed 1 year ago

valosekj commented 1 year ago

When uploading a new branch to git-annex, I have to run:

git push --set-upstream origin xy/some-topic

instead of

git push

I updated this command in data/git-datasets.md

valosekj commented 1 year ago

Thank you, Nick!

So I have a counter-proposal: I'm going to set this on our internal servers for everyone: neuropoly/computers#436

Agree. This is a great idea!

mguaypaq commented 1 year ago

It looks like the two of you have a good plan (yay!), so I'll leave you to it.

kousu commented 1 year ago

I've deployed the patch (plus the related https://github.com/neuropoly/computers/pull/437) so now everyone has these default git settings:

p115628@bireli:~$ git config --system -l
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
annex.thin=true
annex.private=true
push.default=current

The LFS settings came with the git-lfs package.

kousu commented 1 year ago

I guess let's close this for now. But keep in mind that we need to fix up those hyperlinks, and split out the technical command line documentation from the server-admin documentation from the conceptual data documentation, as we've started to do in https://github.com/neuropoly/intranet.neuro.polymtl.ca/commit/d4a62e17295523edd840737dd58bce1237c3995e.