###Moving one repo into a subdirectory of the other
Preserves notes and sets commit details to author details
in newrepo
.assembly Test { } | |
.class public TestClass | |
extends [mscorlib]System.Object | |
{ | |
.method specialname static public void Main() cil managed | |
{ | |
.entrypoint | |
newobj instance void AnotherClass2::.ctor() | |
dup |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
#!/bin/bash | |
branchname=`git symbolic-ref -q --short HEAD` | |
if [[ $branchname =~ 'tfs-.*' ]]; then | |
workitems=$(echo $branchname | sed s/tfs-//g | tr ',' ' ' ) | |
for workitem in $workitems; | |
do | |
cp $1 $1.old | |
$(sed '1s/^/#git-tfs-work-item: '$workitem' associate\n/' $1.old > $1) |
I hereby claim:
To claim this, I am signing this object: