GIT: change commit date to author date

Short Answer: git filter-branch –env-filter ‘export GIT_COMMITTER_DATE=”$GIT_AUTHOR_DATE”‘ Explanation: filter-branch lets you rewrite your git history. It can apply transformations to each commit or filter out commits based on certain criteria. See git filter-branch –help for a comprehensive description and usage instructions. –env-filter allows you to set the environment variables that are present during the creation … Read more

Sourcetree – upgraded to latest version, git-flow missing

I have the same problem here, you can still use Git-Flow From the menu: “Repository-> Git flow /HG flow -> Next action” Using the hotkey: “⌥+⌘+F. But still not able to get the button back… :/ On the download page the button is also gone: https://www.sourcetreeapp.com/ Alternative you can download the previous version here: http://downloads.atlassian.com/software/sourcetree/SourceTree_2.1.dmg … Read more

How do I ignore all files in a folder with a Git repository in Sourcetree?

For Sourcetree users: If you want to ignore a specific folder, just select a file from this folder, right-click on it and do “Ignore…”. You will have a pop-up menu where you can ignore “Ignore everything beneath: <YOUR UNWANTED FOLDER>” If you have the “Ignore” option greyed out, you have to select the “Stop Tracking” … Read more

Getting “fatal: Authentication failed” -error when sending git commands in Windows 10

The password is stored in windows credential manager and needs to be updated. Open command prompt and enter the following command to view the list of stored passwords: rundll32.exe keymgr.dll,KRShowKeyMgr Scroll down in the list until you spot the git-related entries. Click it and edit the correct password. Voilà!

How do you open SourceTree from the command line?

Installing the SourceTree Command Line Tools will provide you with the stree command. This will allow you to open the current directory in SourceTree. You can also specify a particular path to a repo stree ~/my-repo-in-another-folder If installing command-line tools isn’t an option for whatever reason, you can also do the following: open -a SourceTree … Read more

git rebase using sourcetree

But picking this option seems have no effect whatsoever. Yes, because current changes are the one of the current branches, which is dev. Rebasing dev on top of dev means an no-op. git checkout dev git rebase master That means: current branch is dev: to be rebased on top of master. So in SourceTree, you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)