|
|
# Frequently Asked Questions: Git
|
|
|
|
|
|
1. I forgot to add an `upstream` remote prior to creating `my-feature-branch`, how do I get back on track?
|
|
|
|
|
|
Simply add the remote, and rebase your feature branch against `upstream/master`:
|
|
|
|
|
|
```bash
|
|
|
git remote add upstream git@git.ligo.org:lscsoft/lalsuite.git
|
|
|
git fetch upstream
|
|
|
git checkout my-feature-branch
|
|
|
git rebase upstream/master
|
|
|
``` |