Snippets Collections
git config --global alias.glg 'log --oneline --decorate --all --graph'
git config --global alias.amend 'commit --amend --reuse-message=HEAD'
git add -p
git commit 
git add -p
git amend 

git config --global alias.changelog "log origin..HEAD --format='* %s%n%w(,4,4)%+b'"
git config --global alias.workon '!f(){ git fetch && git checkout -b "$1" $(git symbolic-ref refs/remotes/origin/HEAD | sed "s@^refs/remotes/@@"); };f'
git config --global alias.cleanup-merged "!f(){ git fetch && git branch --merged | grep -v '* ' | xargs git branch --delete; };f"


- name: setup git aliases
  community.general.git_config:
    scope: global
    state: present
    name: "alias.{{ item.alias }}"
    value: "{{ item.value }}"
  with_items:
    - alias: changelog
      value: log origin..HEAD --format='* %s%n%w(,4,4)%+b'
    - alias: glg
      value: log --oneline --decorate --all --graph
    - alias: amend
      value: commit --amend --reuse-message=HEAD
    - alias: workon
      value: '!f(){ git fetch && git checkout -b "$1" $(git symbolic-ref refs/remotes/origin/HEAD | sed "s@^refs/remotes/@@"); };f'
    - alias: refresh
      value: '!f(){ git fetch && git stash && git rebase $(git symbolic-ref refs/remotes/origin/HEAD | sed "s@^refs/remotes/@@") && git stash pop; };f'
    - alias: cleanup-merged
      value: "!f(){ git fetch && git branch --merged | grep -v '* ' | xargs git branch --delete; };f"
First, make sure you have the Emmet extension installed. Once you have it, Ctrl + Shift + P to go to the command pallete and search “Emmet balance Outward”.
That should select all the inner HTML and the wrapping tag. If you’re looking to only select the inner HTML, then choose Emmet Balance Inward.
Now you’ll likely want to make a shortcut to one or both of these. File > Preferences > Keyboard Shortcuts. Search for the Emmet command and associate your key combination of choice.
star

Sun Feb 27 2022 04:50:49 GMT+0000 (UTC) https://www.lazy-electron.com/2021/07/29/git-aliases.html

#git #tool #work
star

Mon Dec 27 2021 17:13:11 GMT+0000 (UTC) https://map.lookingglasscyber.com/

#cybersecurity #tool
star

Mon Dec 21 2020 17:41:12 GMT+0000 (UTC) https://jamesauble.medium.com/select-html-tag-block-in-vs-code-1053fb7435c9

#html #vscode #tool #herramienta

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension