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
I basically want **WebStorm** to push to your GitHub account (`akashdip2001`) using a **Personal Access Token (PAT)**, without interfering with my brother’s VS Code setup (`arkadip2007` login with Brave browser).
139
+
140
+
I already did this for IntelliJ IDEA, WebStorm will work almost the same because they share the same JetBrains settings style.
141
+
We just need to make sure **WebStorm is using your GitHub account, not your brother’s**.
142
+
143
+
---
144
+
145
+
## **Step-by-Step: Set up WebStorm with Personal Access Token**
146
+
147
+
### ✅ 1 & 2. **Just click the `repo` logo at left side and click Login, and the Edge open and clock `Login`.** or you use Access Tocken ...
148
+
149
+
<details>
150
+
<summarystyle="opacity: 0.85;"><b>Login with Access Tocken</b></summary><br>
151
+
152
+
### **1. Generate a Personal Access Token (if you don’t already have one)**
153
+
154
+
1. Log in to [GitHub](https://github.com/) with your `akashdip2001` account.
155
+
2. Go to **Settings → Developer settings → Personal access tokens → Tokens (classic)**.
156
+
3. Click **Generate new token → Generate new token (classic)**.
157
+
4. Set:
158
+
159
+
***Note:** "WebStorm Access"
160
+
***Expiration:** Choose 90 days or "No expiration" if you want permanent.
161
+
***Scopes:**
162
+
163
+
* ✅ `repo` (Full control of private repositories)
164
+
* ✅ `workflow` (optional, for GitHub Actions)
165
+
5. Click **Generate token** and copy it somewhere safe.
166
+
167
+
---
168
+
169
+
### **2. Configure WebStorm to Use Your GitHub Account**
170
+
171
+
1. Open **WebStorm**.
172
+
2. Go to **File → Settings → Version Control → GitHub** (or on Mac: `WebStorm → Preferences`).
173
+
3. Click the **`+`** button → **Log In via Token**.
174
+
4. Paste your **Personal Access Token**.
175
+
5. Press **Log In**.
176
+
177
+
---
178
+
179
+
</details>
180
+
181
+
### **3. Make Sure the Repo Uses Your Account**
182
+
183
+
1. Open the project in WebStorm.
184
+
2. Go to **File → Settings → Version Control → Git**.
185
+
3. Check the **Path to Git executable** is correct (usually `C:\Program Files\Git\bin\git.exe`).
**inside your project folder** (without the `--global` flag), it will only set your Git identity for **that specific repository**, not for all repos or for VS Code.
I see what’s happening — you updated your `user.name` and `user.email`, but the push is **still using your brother’s GitHub login** (Arkadip2007) because your Git credentials are cached in Windows Credential Manager.
237
+
238
+
The `403` means GitHub sees that:
239
+
240
+
1. You’re trying to push to `akashdip2001/JavaScript.git`
241
+
2. But your stored credentials are for **Arkadip2007**
242
+
3. That account doesn’t have permission, so GitHub rejects it.
0 commit comments