Skip to content

Instantly share code, notes, and snippets.

View cmpsoares91's full-sized avatar
🎯
Just Gophing around...

Carlos Manuel Soares cmpsoares91

🎯
Just Gophing around...
View GitHub Profile
@cmpsoares91
cmpsoares91 / prepend-ticket-prehook-nix.md
Last active March 2, 2021 13:48
Add Hook to prepend commit messages with Ticket ID and User Name

Add Hook to prepend commit messages with Ticket ID and User Name (Nix Systems)

Configure your User's Name and Email:

Configure your User's Name:

git config --global user.name "[your first and last name here]"

Configure your User's Email:

@cmpsoares91
cmpsoares91 / Update-branch.md
Created June 25, 2019 09:46 — forked from santisbon/Update-branch.md
Bring your feature branch up to date with master. Deploying from Git branches adds flexibility. Bring your branch up to date with master and deploy it to make sure everything works. If everything looks good the branch can be merged. Otherwise, you can deploy your master branch to return production to its stable state.

Updating a feature branch

First we'll update your local master branch. Go to your local project and check out the branch you want to merge into (your local master branch)

$ git checkout master

Fetch the remote, bringing the branches and their commits from the remote repository. You can use the -p, --prune option to delete any remote-tracking references that no longer exist in the remote. Commits to master will be stored in a local branch, remotes/origin/master

@cmpsoares91
cmpsoares91 / cmpsoares-comment-policy.md
Created March 30, 2019 00:39
CMPSOARES Comment Policy

CMPSOARES Comment Policy

We want you to feel at home when you post a comment on CMPSOARES. We want everyone to feel at home posting comments on CMPSOARES. We don’t know what your home is like, but we know how we expect people to behave when they visit ours. That’s why we reserve the right to delete comments and ban users as needed to keep the comment threads here civil and substantive.

Our No. 1 house rule is simple: Don’t be a jerk.

Want to be the kind of commenter we’d love to bring home to Thanksgiving dinner? Here’s what we like to see in comments:

  • Weigh in with smart, informed ideas that contribute further to the story.