Open
Conversation
|
How come when I check it in the command line neither bitbucket nor github shows the same: diff --git a/airfare.js b/airfare.js
index 22d7b01..3f1c970 100644
--- a/airfare.js
+++ b/airfare.js
@@ -5,8 +5,8 @@ var federalTransportTax = .025;
function calculateAirfare(baseFare) {
var fare = baseFare;
- fare += customsFee; // Fixed it! Phew. Glad we didn't ship that! - Alice
fare += immigrationFee;
+ fare += customsFee; // Fixed it! Gee, lucky I caught that one. - Bob
fare *= (1 + federalTransportTax);
return fare;
}Am I using the wrong command? ✨ Edit: oh, triple dot. |
Owner
Author
|
@vohof you can get output similar to GitHub with $ git diff master...bob/master
diff --git a/airfare.js b/airfare.js
index 2f6a580..3f1c970 100644
--- a/airfare.js
+++ b/airfare.js
@@ -6,6 +6,7 @@ var federalTransportTax = .025;
function calculateAirfare(baseFare) {
var fare = baseFare;
fare += immigrationFee;
+ fare += customsFee; // Fixed it! Gee, lucky I caught that one. - Bob
fare *= (1 + federalTransportTax);
return fare;
}Bitbucket is a little trickier: $ git checkout --detach master
HEAD is now at d50299d... Merge pull request #1 from kannonboy/alice/master
$ git merge bob/master -m "merge commit for PR diff"
Auto-merging airfare.js
Merge made by the 'recursive' strategy.
airfare.js | 1 +
1 file changed, 1 insertion(+)
$ git diff master
diff --git a/airfare.js b/airfare.js
index 22d7b01..8e1b402 100644
--- a/airfare.js
+++ b/airfare.js
@@ -7,6 +7,7 @@ function calculateAirfare(baseFare) {
var fare = baseFare;
fare += customsFee; // Fixed it! Phew. Glad we didn't ship that! - Alice
fare += immigrationFee;
+ fare += customsFee; // Fixed it! Gee, lucky I caught that one. - Bob
fare *= (1 + federalTransportTax);
return fare;
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.