Skip to content

Instantly share code, notes, and snippets.

View benoitzohar's full-sized avatar
:octocat:

Ben Zohar benoitzohar

:octocat:
View GitHub Profile
#!/usr/bin/env node
// @ts-check
// Required parameters:
// @raycast.schemaVersion 1
// @raycast.title Open Project in VSCode
// @raycast.mode silent
// Optional parameters:
// @raycast.icon images/vscode.png
@benoitzohar
benoitzohar / git-aliases.sh
Last active July 21, 2022 11:45
Git helpers for bash/zsh
#
# GIT
#
alias gs='git status'
alias gd='git diff'
alias gp='git pull --rebase --autostash'
alias gl='git log --pretty=format:"%h | %an | %s (%ar)"'
alias gcl='git checkout -';
@benoitzohar
benoitzohar / gitolab.php
Last active September 3, 2017 09:29
Migrate repositories from Gitolite to GitLab.
#!/usr/bin/php -qC
<?php
/******************************************************************************
*
* @file gitolab.php
* @author Benoit Zohar
* @link http://benoitzohar.fr/
* @last-edited 2015-01-09
* @description Migrate projects from Gitolite to GitLab