Linux Dev Setup

And now it begins - Pragtech's journey towards open source. There's gonna be some gotchas, excitement, and struggles but one thing is for sure, we're gonna learn a lot of cool stuff. As our journey begins, we'll use this blog to track our trail. Let's start!

Linux Setup

In this post Ubuntu Setup, I have layout the basics of our core tools to be used. For the latest setup we did, I will assign someone in Pragtech to document the steps.

Working with GIT

GIT will be our primary code repository to use. We will be using VSTS GIT, BitBucket, and Github as our remote repositories. Below are their purposes:

  1. VSTS : Will be used for .Net projects with SCRUM board.
  2. BitBucket: Will be used for Opensource private projects
  3. Github: Will be used for Opensource public projects

Check your emails for any invites for these remote repositories

Setup the configs

Run the following commands:

1. git config --global push.default simple
2. git config --global "<pragtech email>"
3. git config --global "<fullname>"
4. git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" 

Sync your bash alias as seen below:

# Git Aliases
alias gs="git status --short"
alias go="git checkout "
alias ga="git add "
alias gp="git push -u origin "
alias gl="git pull origin "
alias gc="git commit "
alias gh="git lg"
alias gf="git fetch"

alias l="ls -a"
alias f="xdg-open"

The aliases above will be our git shortcut commands.

Vim Setup

Sync your vim setup based on this link Vim-Setup.