//--- fix /bin/bash^M: bad interpreter: No such file or directory sed -i -e 's/\r$//' nomefile.sh //--- git merge master --strategy-option theirs git fetch && git reset --hard origin/master //---- git config --global user.name "marco xot" git config --global user.email marco.sottana@gmail.com git config --global credential.helper "store --file ~/.gitcredential" git config --global core.preloadindex true git config --global core.fscache true git config --global gc.auto 256 //----- git config --global submodule.recurse true // cosi' al fetch ed al pull fa anche i submoduli //---------- git submodule sync git fsck --lost-found //--- fix /bin/bash^M: bad interpreter: No such file or directory sed -i -e 's/\r$//' nomefile.sh //--- git merge master --strategy-option theirs git fetch && git reset --hard origin/master //---- git config --global user.name "marco xot" git config --global user.email marco.sottana@gmail.com git config --global credential.helper "store --file ~/.gitcredential" ======= git config --global credential.https://github.com.username marco76tv git config --global credential.https://github.com.username marco76tv git config --global credential.https://github.com.username marco76tv git config --global submodule.recurse true // cosi' al fetch ed al pull fa anche i submoduli //---------- git submodule sync git fsck --lost-found /bin/bash^M: bad interpreter: No such file or directory sed -i -e 's/\r$//' nomefile.sh //--- git merge master --strategy-option theirs git fetch && git reset --hard origin/master //---- git config --global user.name "marco xot" git config --global user.email marco.sottana@gmail.com git config --global credential.helper "store --file ~/.gitcredential" git config --global credential.https://github.com.username marco76tv git config --global credential.https://github.com.username marco76tv //----- ! [remote rejected] master -> master (shallow update not allowed) git rebase --interactive --root git commit --amend --no-edit git rebase --continue //-------------------------- git config --global submodule.recurse true // cosi' al fetch ed al pull fa anche i submoduli git submodule sync git fsck --lost-found git lfs fsck git config lfs.allowincompletepush true //----------------------------------------------------------- git config --global core.preloadindex true git config --global core.fscache true git config --global gc.auto 256 git config --global status.submoduleSummary true git config --global core.ignoreStat true git config --global pack.sparse true //-------------- git submodule sync $ git branch --set-upstream-to=origin/master master fatal: cannot set up tracking information; starting point 'origin/master' is not a branch --- fix git remote update git remote set-branches --add origin master git credential-manager configure git config --global credential.credentialStore secretservice error: could not update refs/heads/master ------------------------- fatal: cannot set up tracking information; starting point 'origin/master' is not a branch sol: git remote update git remote set-branches --add origin master git branch --set-upstream-to=origin/master master git rebase git fsck --lost-found