enable to turn on/off features in ADO
document.cookie = "features-dev-mode=true;path=/"
- .gitconfig template
- Useful commands
--local
: This option specifies that you want to edit the local configuration file for the current Git repository. The local configuration is specific to a particular repository and is stored in the .git/config file within that repository.-e
: This option opens the configuration file in the default text editor. It stands for "edit."
Uses:
- When you clone a git repository and you're trying to push it to a new remote origin. You can delete content or update origin data to point to correct version
- Review the current git configurations and make changes
git config --local -e
command : git config --get remote.origin.url
gets remote origin url
Output
https://github.com/rogerprz/toolbox-shortcuts.git
command: git remote show origin
shows the remote origin url in detail
Output:
remote origin
Fetch URL: https://github.com/rogerprz/toolbox-shortcuts.git
Push URL: https://github.com/rogerprz/toolbox-shortcuts.git
HEAD branch: master
Remote branch:
master tracked
Local branch configured for 'git pull':
master merges with remote master
Local ref configured for 'git push':
master pushes to master (up to date)
git rm -r --cached .
- Replace
.
with a specific file name if you want to untrack only a specific file or folder.
git reset
- See output
cat ~/.ssh/id_rsa.pub
- Copy
clip < ~/.ssh/id_rsa.pub
pbcopy < ~/.ssh/id_rsa.pub
- netstat -aon | findstr 8080
- Look for listen
TCP 0.0.0.0:8080 0.0.0.0:0 LISTEN 77777
taskkill /f /pid
77777