Skip to content

Instantly share code, notes, and snippets.

View giorgichi's full-sized avatar

Giorgi Chighladze giorgichi

  • Iowa State University
  • Ames, IA
View GitHub Profile
@giorgichi
giorgichi / GIT.md
Last active January 15, 2022 04:55
Git Commands

GIT Command Line

Commits

  • git commit -am "Add comment here"
    add and commit all changed files in one code by using -am flag

  • git config --global alias.ac "commit -am"
    create new custom commands called ac that adds all changed files and commits (commit -am)

// XPath CheatSheet
// To test XPath in your Chrome Debugger: $x('/html/body')
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/
// 0. XPath Examples.
// More: http://xpath.alephzarro.com/content/cheatsheet.html
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class