What do you want to save?
Add Code snippet
New code examples
-
-
Shell/Bash 2021-08-29 15:24:01
git find when file was deleted
git log --full-history -- your_file Add solution -
Shell/Bash 2021-08-29 11:18:01
powershell get all history
(Get-PSReadlineOption).HistorySavePath Add solution -
Shell/Bash 2021-08-29 09:49:01
how to make history | grep in windows
Use doskey in Windows for requesting your command history. For that you first have to create once a storage file in some directory as follows: doskey /history > C:/history.txt Then just use doskey command together with fidstr to filter your history: d... Add solution -
Shell/Bash 2021-08-29 06:44:02
cmder search filtered history
Press "Ctrl" + "r" and then type your substring to search in your history. Last matching command line will be found, keep using "Ctrl" + "r" to find previous ones. Once you find your searched command just press &quo... Add solution -
Shell/Bash 2021-08-29 06:30:01
what all should be added to gitignore for django project
# Django # *.log *.pot *.pyc __pycache__ db.sqlite3 media # Backup files # *.bak # If you are using PyCharm # .idea/**/workspace.xml .idea/**/tasks.xml .idea/dictionaries .idea/**/dataSources/ .idea/**/dataSources.ids .idea/**/dataSources.xml .... Add solution -
Shell/Bash 2021-08-29 01:55:02
rename branch to main
# Step 1 # create main branch locally, taking the history from master git branch -m master main # Step 2 # push the new local main branch to the remote repo (GitHub) git push -u origin main # Step 3 # switch the current HEAD to the main branch git sy... Add solution