WARNING: If you use
credential.helper store from the answer, your password is going to be stored completely unencrypted ("as is") at ~/.git-credentials. Please consult the comments section below or the answers from the "Linked" section, especially if your employer has zero tolerance for security issues.~/.gitconfigWindows File error
git config alias
If windows change open to start
git pr-> Open this PR at github.com
git hub-> Open this repo at github.com
git amend-> Alias forgit commit --amend
git ammend-> How I always misspell ‘amend’, also alias forgit commit --amend
Can't seem to discard changes in Git
What changes does git diff show on the file? On windows, I've seen issues with line-endings causing issues like this. In that case, look at what settings you have for git config core.autocrlf and git config core.safecrlf. There is some documentation for these settings here.
https://stackoverflow.com/questions/1575682/cant-seem-to-discard-changes-in-git
Git asks for username every time I push
Asked Whenever I try to push into my repo git asks for both username & password. I have no problem in re-entering my password each time but the problem is in entering username. I use https to clone my repository. So, how can I configure git so that it doesn't asks for username on each git push.
https://stackoverflow.com/questions/11403407/git-asks-for-username-every-time-i-push
alias
Git Bash bash: open: command not found
I'm new to Git Bash, just freshly downloaded this for use in my class today, on the first class module it ask me to cd in to different directory and ls the content which works perfectly fine in Git Bash, then it ask me to open a README.md file in
https://stackoverflow.com/questions/35811533/git-bash-bash-open-command-not-found
Idiot proof git
I'm an idiot. And git is hard. A lot of places use a rebase-based Git workflow, and I've made git less hard with a set of handy aliases. Put these in your ~/.gitconfig and turn git into an actually less painful command line tool to use. Here's documentation for these idiot-proof git aliases.
https://softwaredoug.com/blog/2022/11/09/idiot-proof-git-aliases.html


Seonglae Cho