Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.
/ SourceControlSyncer Public archive

A console application written in c# to clone all your repositories from Github, Bitbucket Server etc. to your machine

License

Notifications You must be signed in to change notification settings

frg/SourceControlSyncer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SourceControlSyncer

This project has been archived in favor of a simpler solution using SSH and bash, here

A console application written in c# to clone all your repositories from Github, Bitbucket Server etc. to your machine.

NOTE: Any merge conflicts will be resolved by using the remote's changes

Console arguments

Generic

  • -?|--help Shows the help
  • -dir|--RepositoryPathTemplate The path template the app will use to sync your individual repositories to
  • -rw|--RepositoryWhitelist Provides a way to whitelist which repositories to sync
  • -bw|--BranchWhitelist Provides a way to whitelist which branches to sync

Bitbucket Server

  • -url|--ServerUrl The Bitbucket Server that will be queried for repositories
  • -u|--Username The username that will be used to authenticate with the Bitbucket Server
  • -e|--Email The email that will be used with any source control signitures
  • -p|--Password The password that will be used to authenticate you with Bitbucket Server

Github

  • -at|--AccessToken The access token that will be used to authenticate with Github (scopes: "repo", "read:org")
  • -u|--Username The username that will be used to authenticate & interact with Github
  • -e|--Email The email that will be used with any source control signitures

TODO

  • Implement merge handling
  • Implement Bitbucket Cloud API
  • Refactor code to remove redundancies
  • Convert to .NET Core
  • Implement SSH functionality

Usage

bitbucketserver -serverurl "https://bitbucket.company.com" -username "tom.rodd" -password "bigwalrus35" -email "[email protected]" -branchwhitelist "develop,release"

github -username "rainbowrider" -accesstoken "23gyae12146f7335087g0d96819c7dfdc409rc22" -email "[email protected]"

About

A console application written in c# to clone all your repositories from Github, Bitbucket Server etc. to your machine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages