You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-4
Original file line number
Diff line number
Diff line change
@@ -29,17 +29,30 @@ cd path/to/repo
29
29
./changeauthor.sh [OPTIONS]...
30
30
```
31
31
32
-
Alternatively, you may execute with either of the following:
32
+
If you did not change the permissions to allow execution, you can also call the script with either of the following:
33
33
34
34
```sh
35
-
sh ./changeauthor.sh [OPTIONS]...
36
-
37
35
bash ./changeauthor.sh [OPTIONS]...
36
+
37
+
sh ./changeauthor.sh [OPTIONS]...
38
38
```
39
39
40
40
If you run the script with no [option flags](#options), you will be prompted for the needed values via interactive prompts. The script will then proceed to update your local repository and push the changes to the specified remote.
41
41
42
-
If you did not change the permissions to allow execution, you can also call the script with `bash ./changeauthor.sh`
42
+
If you would like to suppress the git-filter-branch warning, simply add the following line the `~/.bashrc` file on your computer:
43
+
44
+
```sh
45
+
export FILTER_BRANCH_SQUELCH_WARNING=1
46
+
```
47
+
48
+
If you prefer to set up the script as a function you can call from anywhere, add the following function to your `~/.bashrc` file:
49
+
50
+
```sh
51
+
functionchangegitauthor() {
52
+
# Update the path to point to the absolute path of the script on your computer
0 commit comments