diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 00000000..185cc34d --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,3 @@ +repository: + description: An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git! + homepage: https://pcottle.github.io/learnGitBranching/ diff --git a/README.md b/README.md index 38a4dd3b..e6b58367 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,13 @@ LearnGitBranching is a git repository visualizer, sandbox, and a series of educa You can input a variety of commands into LearnGitBranching (LGB) -- as commands are processed, the nearby commit tree will dynamically update to reflect the effects of each command: -![demo-gif](https://user-images.githubusercontent.com/7308241/39848730-040bd09e-53df-11e8-964e-2d48f35a4355.gif) +![demo-gif](https://user-images.githubusercontent.com/6324814/108740487-02c3c400-7536-11eb-9dd1-53275cdf76fb.gif) This visualization combined with tutorials and "levels" can help both beginners and intermediate developers polish their version control skills. A quick demo is available here: -https://pcottle.github.com/learnGitBranching/?demo +https://pcottle.github.io/learnGitBranching/?demo Or, you can launch the application normally here: -https://pcottle.github.com/learnGitBranching/ +https://pcottle.github.io/learnGitBranching/ ### Sandbox Mode @@ -133,6 +133,7 @@ Alternatively, you can also build and run the app in a pre-configured online wor + [//]: contributor-faces @@ -162,6 +163,7 @@ And the following heroes for assisting in translating: * Vasil Kulakov ("coyl") & Lyubov Agadjanyan ("shayenblue") * Aliaksei Berkau ("alexeiberkov") * Mizunashi Mana ("mizunashi-mana") +* YourSenseiCreeper * Olsza Also huge shoutout for everyone who has put up a pull request that was pulled! Check out the 30+ contributors we have in the [Contributors View](https://github.com/pcottle/learnGitBranching/graphs/contributors) diff --git a/src/js/git/index.js b/src/js/git/index.js index 160dfc33..1b9354b0 100644 --- a/src/js/git/index.js +++ b/src/js/git/index.js @@ -793,8 +793,8 @@ GitEngine.prototype.printBranchesWithout = function(without) { GitEngine.prototype.printBranches = function(branches) { var result = ''; - branches.forEach(function (branch) { - result += (branch.selected ? '* ' : '') + branch.id + '\n'; + branches.forEach(branch => { + result += (branch.selected ? '* ' : '') + this.resolveName(branch.id).split('"')[1] + '\n'; }); throw new CommandResult({ msg: result